﻿
@model IEnumerable<WebVideo.EntityVideo>
@{
    ViewBag.Title = "Trang chủ - Yêu quảng cáo";
}
<div class="arrow left">‹</div>
        <div class="arrow right">›</div>
    	<div class="inner-container" id="inner-container" style="width:8000px">
            <div class="wrap-widget" id="ads">
            	<div class="inner-widget _5">
                     @{
                if (System.Web.HttpContext.Current.Request.Cookies["userId"] != null && System.Web.HttpContext.Current.Request.Cookies["UserType"].Value == "2")
                {
                    <h1><b>Quảng cáo của bạn</b></h1>
                }
                else
                {
                     <h1><b>Xem quảng cáo</b></h1>
                }
                }
                	

                    @Html.Action("Video","Index")
                </div><!--/ .inner-widget-->
            </div><!--/ .wrap-widget -->
            @{
                if (System.Web.HttpContext.Current.Request.Cookies["userId"] != null && System.Web.HttpContext.Current.Request.Cookies["UserType"].Value == "1")
                {
                <div class="wrap-widget" id="account">
            	    <div class="inner-widget _3">
                	    <h1><b>Tài khoản của bạn</b></h1>
                        <div class="widget _2x1">
                           <a href="@Url.Action("VideoDaXem", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value },null)">
                             <img src="../../Content/cssFrontEnd/upload/videothumb/videdaxem.png" /></a>
                            <div class="description _2">
                        	    <h2 style="font-size:16px;">&nbsp;  Quảng cáo đã xem <img src="Content/cssFrontEnd/images/icon_movie2.png" /></h2>
                        
                            </div><!--/ description-->
                        </div>
                         <div class="widget bg-color-purple">
                    	
                    	<a href="@Url.Action("Wall", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value })" class="inner-wg">
                            <span class="img"><span><img src="Content/cssFrontEnd/images/icon-msg-success.png"/></span></span>
                            <span class="title absolute left bottom">Tường nhà</span>
                        </a>
                    </div>
                        <div class="widget bg-color-orangeDark">
                    	    <a href="@Url.Action("ThongKe", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value })" class="inner-wg">
                        	    <span class="img"><span><img src="Content/cssFrontEnd/images/icon-counter.png"/></span></span>
                                <span class="title">Thống kê điểm</span>
                            </a>
                        </div>
                        <div class="widget bg-color-red">
                    	    <a href="@Url.Action("ThongTinCaNhan", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value })" class="inner-wg">
                        	    <span class="img"><span><img src="Content/cssFrontEnd/images/icon_user.png"/></span></span>
                                <span class="title">Cập nhật tài khoản</span>
                            </a>
                        </div>
                        <div class="widget bg-color-blue">
                    	    <a href="@Url.Action("DanhSachBanBe", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value })" class="inner-wg">
                        	    <span class="img"><span><img src="Content/cssFrontEnd/images/icon_user2.png"/></span></span>
                                <span class="title">Danh sách bạn bè</span>
                            </a>
                        </div>
                        <div class="widget bg-color-greenDark">
                        <a href="@Url.Action("Payment", "Individual", new { Friend = System.Web.HttpContext.Current.Request.Cookies["userId"].Value })" class="inner-wg">
                            <span class="img"><span><img src="../../Content/cssFrontEnd/images/icon-payment.png" /></span></span>
                            <span class="title">Thanh toán</span>
                        </a>
                    </div>
                        <div class="widget bg-color-pinkDark">
                        <a href="@Url.Action("Chat", "Individual")" class="inner-wg">
                            <span class="img"><span><img src="../../Content/cssFrontEnd/images/icon-chat.png" /></span></span>
                            <span class="title">Trò chuyện</span>
                        </a>
                    </div>
                    </div><!--/ .inner-widget-->
                </div><!--/ .wrap-widget -->
                }
            }
              @{
                if (System.Web.HttpContext.Current.Request.Cookies["userId"] != null && System.Web.HttpContext.Current.Request.Cookies["UserType"].Value == "2")
                {
                <div class="wrap-widget" id="account">
            	    <div class="inner-widget _3">
                	    <h1><b>Tài khoản của bạn</b></h1>
                      
                         <div class="widget bg-color-purple">
                    	
                    	<a href="@Url.Action("InfoUser", "Organization")" class="inner-wg">
                            <span class="img"><span><img src="Content/cssFrontEnd/images/icon-msg-success.png"/></span></span>
                            <span class="title absolute left bottom">Thông Tin tài khoản</span>
                        </a>
                    </div>
                        <div class="widget bg-color-orangeDark">
                    	    <a href="@Url.Action("Statistic", "Organization")" class="inner-wg">
                        	    <span class="img"><span><img src="Content/cssFrontEnd/images/icon-counter.png"/></span></span>
                                <span class="title">Thống kê</span>
                            </a>
                        </div>
                        <div class="widget bg-color-red">
                    	    <a href="@Url.Action("Contract_Renewals", "Organization")" class="inner-wg">
                        	    <span class="img"><span><img src="Content/cssFrontEnd/images/icon_user.png"/></span></span>
                                <span class="title">Gia hạn hợp đồng</span>
                            </a>
                        </div>
                       
                    </div><!--/ .inner-widget-->
                </div><!--/ .wrap-widget -->
                }
            }
           
            <div class="wrap-widget" id="guide">
            	<div class="inner-widget _2">
	                <h1><b>Hướng dẫn</b></h1>
                    <div class="widget bg-color-blueDark">
                    	<a href="@Url.Action("DieuKhoanDichVu", "NSiteInfo")" class="inner-wg">
                        	<span class="img"><span><img src="Content/cssFrontEnd/images/icon-support.png"/></span></span>
                            <span class="title">Điều khoản dịch vụ</span>
                        </a>
                    </div>
                    <div class="widget bg-color-FireBrick">
                    	<a href="@Url.Action("SuDungWebSite", "NSiteInfo")" class="inner-wg">
                        	<span class="img"><span><img src="Content/cssFrontEnd/images/icon_spweb.png"/></span></span>
                            <span class="title">Sử dụng website</span>
                        </a>
                    </div>
                    <div class="widget bg-color-MediumSeaGreen">
                    	<a href="@Url.Action("FAQ", "NSiteInfo")" class="inner-wg">
                        	<span class="img"><span><img src="Content/cssFrontEnd/images/icon_faq.png"/></span></span>
                            <span class="title">FAQ</span>
                        </a>
                    </div>
                </div><!--/ .inner-widget-->
                
             @Html.Action("ThanhVienCaoDiem","Index")
                 
            </div><!--/ .wrap-widget -->
         </div><!--/ .inner-container-->
@section occasionalScripts {
 <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.min.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/load.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/styles.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.nicescroll.min.js")" ></script>
}

